package com.Jning.cfengtestdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Cfeng
 * @date 2022/7/27
 */

@Controller
@RequestMapping("/sys")
public class TestSystemController {

    @RequestMapping("/index")
    //template中不能直接访问
    public String toIndex() {
        return "index";
    }
}
